<div class="col-md-5 column">
    <fieldset>
        <legend>Pievienot jaunu filmu</legend>
        <?php echo Form::open(array("enctype" => "multipart/form-data", "id" => "addMovieForm")); ?>
            <div class="form-group">
                    <label for="Title_Lv">Filmas nosaukums latviski<span style="color:red">*</span></label><?php echo Form::input('Title_Lv', '', array("class"=>"form-control") ); ?>                        
            </div>
            <div class="form-group">
                    <label for="Title_En">Filmas nosaukums angliski<span style="color:red">*</span></label><?php echo Form::input('Title_En', '', array("class"=>"form-control") ); ?>                        
            </div>
            <div class="form-group">
                    <label for="Title_Original">Filmas nosaukums oriģinālvalodā<span style="color:red">*</span></label><?php echo Form::input('Title_Original', '', array("class"=>"form-control") ); ?>                        
            </div>
            <div class="form-group">
                    <label for="Year">Izdošanas gads<span style="color:red">*</span></label><?php echo Form::input('Year', '', array("class"=>"form-control") ); ?>                        
            </div>
            <div class="form-group">
                    <label for="Duration">Filmas garums (min)<span style="color:red">*</span></label><?php echo Form::input('Duration', '', array("class"=>"form-control") ); ?>                        
            </div>
            <div id="genre-selection" class="form-group">
                <label>Žanri</label>
                <?php
                    echo Form::select('Genre_1', '', $genres, array("class"=>"form-control"));
                ?>
                <button id="add-genre" type="button" class="btn btn-default btn-sm">
                    <span class="glyphicon glyphicon-plus"></span> Pievienot jaunu lauku
                </button>
                <button id="remove-last-genre" type="button" class="btn btn-default btn-sm" disabled="disabled">
                    <span class="glyphicon glyphicon-minus"></span> Dzēst pēdējo lauku
                </button>
            </div>     
            <div class="form-group">
                    <label for="Age_Restriction">Vecuma ierobežojums</label><?php echo Form::input('Age_Restriction', '', array("class"=>"form-control") ); ?>                        
            </div>
            <div class="form-group">
                    <label for="Trailer_Link">Video saite<span style="color:red">*</span></label><?php echo Form::input('Trailer_Link', '', array("class"=>"form-control") ); ?>                        
            </div>
            <div class="form-group">
                    <label for="Description_Lv">Filmas apraksts latviski<span style="color:red">*</span></label><?php echo Form::textarea('Description_Lv', '', array("class"=>"form-control") ); ?>                        
            </div>
            <div class="form-group">
                    <label for="Description_En">Filmas apraksts angliski<span style="color:red">*</span></label><?php echo Form::textarea('Description_En', '', array("class"=>"form-control") ); ?>                        
            </div>    
            <div class="form-group">
                    <label for="Poster">Filmas plakāts<span style="color:red">*</span></label><?php echo Form::file('Poster', array("class"=>"form-control") ); ?>                        
            </div>


            <?php echo Form::submit('SubmitButton', 'Pievienot filmu', array("class"=>"btn btn-default") ); ?> 
        <?php echo Form::close(); ?>
    </fieldset>
</div>